package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("notice")
@Data
public class Notice extends BaseEntity implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private String title;
    private String content;
}
